package com.fyl.pattern.observe;

public class WeiXinUser implements Observer {
    private String name;

    public WeiXinUser(String name) {
        this.name = name;
    }

    @Override
    public void update(String message) {
        System.out.println(this.name + "-" + message);
    }
}
